import React from 'react'
import {router} from './router/router' 
import { useRoutes,BrowserRouter } from 'react-router-dom'
const App = () => {
  const El=()=>useRoutes(router)
  return (
    <BrowserRouter>
      <El/>
    </BrowserRouter>
  )
}

export default App
